-- GENERATED SPELL FOR [Frosthorn Ram] --


function spell0_23740(pUnit, Event) --@Hoof Strike,n/a--
pUnit:FullCastSpellOnTarget(29577,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23740', 593, 1)
end

function Sorts_23740(pUnit, Event)
local choix_sorts_23740 = math.random(0, 0)
if choix_sorts_23740 == 0 then
pUnit:RegisterEvent('spell0_23740', 1, 1)
end
end

function mob23740_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23740', math.random(1500, 3000), 1)
end

function mob23740_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23740_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23740_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23740, 1, 'mob23740_Action')
RegisterUnitEvent(23740, 2, 'mob23740_Leave')
RegisterUnitEvent(23740, 3, 'mob23740_Kill')
RegisterUnitEvent(23740, 4, 'mob23740_Die')
